libxl: Specify no nics to qemu when no emulated nics
authorIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 28 Jun 2010 16:13:43 +0000 (17:13 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 28 Jun 2010 16:13:43 +0000 (17:13 +0100)
commit4f5a16eb5cc213d9a04bee0c815e7496387e1bd4
tree8df3a14c135ef369b3d683d0f3f16f50eeb73a53
parent28d7162231f081e88c943266d1fa922bca5957c7
libxl: Specify no nics to qemu when no emulated nics

qemu will default to one emulated NIC if no network configuration is
specified on the command-line.  If there are no emualted NICs (i.e.,
no NICs or all NICs are PV), specify no nics to avoid getting an
emulated NIC by default.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
tools/libxl/libxl.c